package com.idea.zd.sys.te;

/**
 * @author zzy
 * @Date 2018/11/3 8:16 AM
 */
public class Cs extends Base {
    private String name = "cs";

    public Cs(){
        this.tellName();
        this.tellName2();
    }
    @Override
    public void tellName(){
        System.out.println("tellName:"+this.name);
    }
    @Override
    public void tellName2(){
        System.out.println("tellName:"+this.name);
    }

    public static void main(String [] args){
        new Cs();
    }

}

class Base{
    private String name = "base";

    public Base(){
        this.tellName();
        this.tellName2();
    }

    public void tellName(){
        System.out.println("tellName:"+this.name);
    }
    public void tellName2(){
        System.out.println("tellName:"+this.name);
    }
}
